/*
* Copyright (c)  2015, Newtouch
* All rights reserved. 
*
* $id: Attachment.java 9552 2015年6月2日 下午9:19:12 WangLijun$
*/
package com.xiqing.wechat.web.util;

import java.io.BufferedInputStream;

/**
 * <p>
 * Title:下载文件对象
 * </p>
 * <p>
 * Description: 下载文件对象通过code换取网页授权access_token
 * </p>
 * <p>
 * Copyright: Copyright (c) 2015
 * </p>
 * <p>
 * Company: Newtouch
 * </p>
 * 
 * @author WangLijun
 * @version 1.0
 */
public class Attachment {
	
	private String fileName;
	
	private String fullName;
	
	private String suffix;
	
	private String contentLength;
	
	private String contentType;
	
	private BufferedInputStream fileStream;
	
	private String error;

	public String getFullName() {
		return fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getContentLength() {
		return contentLength;
	}

	public void setContentLength(String contentLength) {
		this.contentLength = contentLength;
	}

	public String getContentType() {
		return contentType;
	}

	public void setContentType(String contentType) {
		this.contentType = contentType;
	}

	public BufferedInputStream getFileStream() {
		return fileStream;
	}

	public void setFileStream(BufferedInputStream fileStream) {
		this.fileStream = fileStream;
	}

	public String getError() {
		return error;
	}

	public void setError(String error) {
		this.error = error;
	}

	public void setSuffix(String suffix) {
		this.suffix = suffix;
	}

	public String getSuffix() {
		return suffix;
	}
}
